﻿using System;
using WebApplication4.Dao;
using Work3.Models;

namespace WebApplication4.Services
{
    public class loginService
    {
        UserDao dao = new UserDao();
        public int Login(UserMsg usermsg)
        {
            return dao.Login(usermsg.Username, usermsg.Password);
        }
    }
}